package com.ruoyi.depot.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 
 * @TableName tb_receipt_products
 */
@TableName(value ="tb_receipt_products")
@Data
public class ReceiptProducts extends BaseEntity {
    /**
     * 收货产品id
     */
    @TableId(value = "receipt_product_id", type = IdType.AUTO)
    private String receiptProductId;

    /**
     * 关联收货表(tb_receipt)
     */
    @TableField(value = "receipt_id")
    private String receiptId;

    /**
     * 关联产品表(tb_product)
     */
    @TableField(value = "product_id")
    private Integer productId;

    /**
     * 采购数量
     */
    @TableField(value = "transferable_number")
    private Integer transferableNumber;

    /**
     * 待到货量
     */
    @TableField(value = "waiting_stock")
    private Integer waitingStock;

    /**
     * 已通知量
     */
    @TableField(value = "notified_count")
    private Integer notifiedCount;

    /**
     * 未通知量
     */
    @TableField(value = "unnotified_quantity")
    private Integer unnotifiedQuantity;

    /**
     * 通知收货量
     */
    @TableField(value = "notification_quantity")
    private Integer notificationQuantity;

    /**
     * 收货量
     */
    @TableField(value = "receipt_quantity")
    private Integer receiptQuantity;

    /**
     * 待检量
     */
    @TableField(value = "pending_quantity")
    private Integer pendingQuantity;

    /**
     * 未质检
     */
    @TableField(value = "not_inspected")
    private Integer notInspected;

    /**
     * 质检中
     */
    @TableField(value = "quality_inspection")
    private Integer qualityInspection;

    /**
     * 已检量
     */
    @TableField(value = "checked_quantity")
    private Integer checkedQuantity;

    /**
     * 可用量
     */
    @TableField(value = "available_quantity")
    private Integer availableQuantity;

    /**
     * 次品量
     */
    @TableField(value = "defective_quantity")
    private Integer defectiveQuantity;

    /**
     * 质检状态
     */
    @TableField(value = "quality_status")
    private String qualityStatus;

    /**
     * 删除状态 0存在1删除
     */
    @TableField(value = "delete_status")
    @TableLogic
    private String deleteStatus;


    /**
     * 产品明细备注
     */
    @TableField(value = "details_remark")
    private String detailsRemark;

    /**
     * GTIN
     */
    @TableField(value = "gtin")
    private String gtin;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}